package com.obtk.property.service;

import com.github.pagehelper.Page;
import com.obtk.property.pojo.Building;

import java.util.List;
import java.util.Map;


public interface BuildingService {
    List<Building> findAll();

    Page<Building> search(Map searchMap);

    Boolean add(Building building);

    Building findById(Integer buildingId);

    Boolean update(Building building);

    Boolean del(List<Integer> ids);
}
